/*
 * @Author: jswang
 * @Date: 2021-08-03 13:42:14
 * @LastEditTime: 2021-08-03 13:42:25
 */

// 该文件负责所有的公共的组件的全局注册   Vue.use
import PageTools from './PageTools'
import UploadExcel from './UploadExcel'
import ImageUpload from './ImageUpload'
import Print from 'vue-print-nb'
import ScreenFull from './ScreenFull'
import ThemePicker from './ThemePicker'
import langSelect from './lang'
import TagsView from './TagsView'
export default {
    install(Vue) {
        //  注册全局的通用栏组件对象
        Vue.component('PageTools', PageTools)
        Vue.component('UploadExcel', UploadExcel)
        Vue.component('ImageUpload', ImageUpload) // 注册一个图片上传组件
        Vue.use(Print) // 打印上传组件
        Vue.component('ScreenFull', ScreenFull)
        Vue.component('ThemePicker', ThemePicker)
        Vue.component('langSelect', langSelect)
        Vue.component('TagsView', TagsView) // 多页签组件
    }
}